package com.edwin.ws.webservice;
import javax.xml.ws.Endpoint;

//import org.apache.cxf.endpoint.Endpoint;

@SuppressWarnings("restriction")
public class WebserviceServer {
	public static void main(String[] args) {
		String address="http://localhost:9080/ws/soap/add";
		WebServiceSample sample=new WebServiceSampleImpl();
		 Endpoint.publish(address, sample);
		 System.out.println("ws is pubished");
	}

}
